package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbCitiesMapper;
import com.dongdongshop.pojo.TbCities;
import com.dongdongshop.service.CitiesService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
@DubboService
public class CitiesServiceImpl implements CitiesService {

    @Resource
    private TbCitiesMapper tm;
    @Override
    public List<TbCities> getCitiesByPid(String provinceid) {
        return tm.getCitiesByPid(provinceid);
    }
}
